﻿IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'usp_UPDMS_COM_PGM_LABEL_Update')
	BEGIN
		DROP Procedure usp_UPDMS_COM_PGM_LABEL_Update
	END
GO

SET ANSI_NULLS ON
SET QUOTED_IDENTIFIER ON
GO
/******************************************************************************
**	Name : usp_UPDMS_COM_PGM_LABEL_Update
**	Desc : 프로그램별 리터럴 관리을 수정한다.
**	Test Exec Query : Exec usp_UPDMS_COM_PGM_LABEL_Update
**	Called by : Com_Dac_UPDMS_COM_PGM_LABEL.cs
**	Program ID : Com1018m
**	Auth : 송시명
**	Date : 2011-02-11
*******************************************************************************
**	Change History
*******************************************************************************
**	Date:		Author:		Description:
**	--------	--------	---------------------------------------
**	
*******************************************************************************/
CREATE PROC [dbo].[usp_UPDMS_COM_PGM_LABEL_Update]
@Seq int,
@Pgm_Id nvarchar(20),
@Ctrl_Id nvarchar(100),
@Label_Id int,
@Create_User nvarchar(20),
@Create_Dt datetime,
@Update_User nvarchar(20),
@Update_Dt datetime
AS
SET NOCOUNT OFF

UPDATE UPDMS_COM_PGM_LABEL
   SET Pgm_Id = @Pgm_Id,
       Ctrl_Id = @Ctrl_Id,
       Label_Id = @Label_Id,
       Update_User = @Update_User,
       Update_Dt = GETDATE()
 WHERE Seq = @Seq

GO